home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / e / mailinglists / amigae.0294feb.archive / 000093_donews!crash!fr…leton.ca!ad047_Tue, 22 Feb 94 08:05:37 PST.msg < prev    next >
Internet Message Format  |  1994-05-26  |  26KB

  1. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  2.       id <1vzd@bkhouse.cts.com>; Tue, 22 Feb 94 08:05:37 PST
  3. Received: from crash by donews.cts.com with uucp
  4.     (Smail3.1.28.1 #18) id m0pYjDd-0001vuC; Mon, 21 Feb 94 17:35 EST
  5. Received: from freenet-news.carleton.ca by crash.cts.com with smtp
  6.     (Smail3.1.28.1 #18) id m0pYisC-0000K7C; Mon, 21 Feb 94 14:13 PST
  7. Received: from freenet.carleton.ca by freenet-news.carleton.ca (4.1/SMI-4.0)
  8.     id AA25605; Mon, 21 Feb 94 17:13:26 EST
  9. Received: from localhost (ad047@localhost) by freenet.carleton.ca (8.6.4/8.6.4) id RAA00290; Mon, 21 Feb 1994 17:12:53 -0500
  10. Date: Mon, 21 Feb 1994 17:12:53 -0500
  11. Message-Id: <199402212212.RAA00290@freenet.carleton.ca>
  12. Reply-To: ad047@freenet.carleton.ca
  13. From: ad047@freenet.carleton.ca (Stephane Costisella)
  14. To: amigae@bkhouse.cts.com
  15. Subject: Sound in e.
  16.  
  17. Can somebody convert this C code into E.
  18. ----------------------------------------
  19.  
  20. #include <exec/types.h>
  21. #include <exec/memory.h>
  22. #include <devices/audio.h>
  23. #include <dos/dos.h>
  24. #include <dos/dosextens.h>
  25. #include <graphics/gfxbase.h>
  26.  
  27. #include <clib/exec_protos.h>
  28. #include <clib/alib_protos.h>
  29. #include <clib/dos_protos.h>
  30. #include <clib/graphics_protos.h>
  31.  
  32. #include <stdlib.h>
  33. #include <stdio.h>
  34.  
  35. #ifdef LATTICE
  36. int CXBRK(void) { return(0); }     /* Disable SAS CTRL/C handling */
  37. int chkabort(void) { return(0); }  /* really */
  38. #endif
  39.  
  40. struct GfxBase *GfxBase;
  41. /*-----------------------------------------------------------*/
  42. /* The whichannel array is used when we allocate a channel.  */
  43. /* It tells the audio device which channel we want. The code */
  44. /* is 1 =channel0, 2 =channel1, 4 =channel2, 8 =channel3.    */
  45. /* If you want more than one channel, add the codes up.      */
  46. /* This array says "Give me channel 0. If it's not available */
  47. /* then try channel 1; then try channel 2 and then channel 3 */
  48. /*-----------------------------------------------------------*/
  49. UBYTE           whichannel[] = { 1,2,4,8 };
  50.  
  51. void main(int argc, char **argv)
  52. {
  53. struct IOAudio *AudioIO;      /* Pointer to the I/O block for I/O commands
  54.   */
  55. struct MsgPort *AudioMP;      /* Pointer to a port so the device can reply */
  56. struct Message *AudioMSG;     /* Pointer for the reply message             */
  57. ULONG           device;
  58. BYTE           *waveptr;                /* Pointer to the sample bytes     */
  59. LONG            frequency = 440;        /* Frequency of the tone desired   */
  60. LONG            duration  = 3;          /* Duration in seconds             */
  61. LONG            clock     = 3579545;    /* Clock constant, 3546895 for PAL */
  62. LONG            samples   = 2;          /* Number of sample bytes          */
  63. LONG            samcyc    = 1;          /* Number of cycles in the sample  */
  64. /*-------------------------------------------------------------------------*/
  65. /* Ask the system if we are PAL or NTSC and set clock constant accordingly */
  66. /*-------------------------------------------------------------------------*/
  67. GfxBase = (struct GfxBase *)OpenLibrary("graphics.library",0L);
  68. if (GfxBase == 0L)
  69.     goto killaudio;
  70. if (GfxBase->DisplayFlags & PAL)
  71.     clock = 3546895;        /* PAL clock */
  72. else
  73.     clock = 3579545;        /* NTSC clock */
  74.  
  75. if (GfxBase)
  76.     CloseLibrary((struct Library *) GfxBase);
  77. /*--------------------------------------------------------------------------*/
  78. /*  Create an audio I/O block so we can send commands to the audio device 
  79.  */
  80. /*--------------------------------------------------------------------------*/
  81. AudioIO = (struct IOAudio *)
  82.            AllocMem( sizeof(struct IOAudio),MEMF_PUBLIC | MEMF_CLEAR);
  83. if (AudioIO == 0)
  84.     goto killaudio;
  85. printf("IO block created...\n");
  86. /*-------------------------------------------------------------------*/
  87. /* Create a reply port so the audio device can reply to our commands */
  88. /*-------------------------------------------------------------------*/
  89. AudioMP = CreatePort(0,0);
  90. if (AudioMP == 0)
  91.     goto killaudio;
  92. printf("Port created...\n");
  93. /*----------------------------------------------------------------------*/
  94. /* Set up the audio I/O block for channel allocation:                   */
  95. /* ioa_Request.io_Message.mn_ReplyPort is the address of a reply port.  */
  96. /* ioa_Request.io_Message.mn_Node.ln_Pri sets the precedence (priority) */
  97. /*   of our use of the audio device. Any tasks asking to use the audio  */
  98. /*   device that have a higher precedence will steal the channel from us.*/
  99. /* ioa_Request.io_Command is the command field for I/O.                  */
  100. /* ioa_Request.io_Flags is used for the I/O flags.                       */
  101. /* ioa_AllocKey will be filled in by the audio device if the allocation */
  102. /*   succeeds. We must use the key it gives for all other commands sent.*/
  103. /* ioa_Data is a pointer to the array listing the channels we want.     */
  104. /* ioa_Length tells how long our list of channels is.                   */
  105. /*----------------------------------------------------------------------*/
  106. AudioIO->ioa_Request.io_Message.mn_ReplyPort   = AudioMP;
  107. AudioIO->ioa_Request.io_Message.mn_Node.ln_Pri = 0;
  108. AudioIO->ioa_Request.io_Command                = ADCMD_ALLOCATE;
  109. AudioIO->ioa_Request.io_Flags                  = ADIOF_NOWAIT;
  110. AudioIO->ioa_AllocKey                          = 0;
  111. AudioIO->ioa_Data                              = whichannel;
  112. AudioIO->ioa_Length                            = sizeof(whichannel);
  113. printf("I/O block initialized for channel allocation...\n");
  114. /*-----------------------------------------------*/
  115. /* Open the audio device and allocate a channel  */
  116. /*-----------------------------------------------*/
  117. device = OpenDevice("audio.device",0L, (struct IORequest *) AudioIO ,0L);
  118. if (device != 0)
  119.     goto killaudio;
  120. printf("Audio device opened, channel allocated...\n");
  121. /*----------------------------------------------*/
  122. /* Create a very simple audio sample in memory. */
  123. /* The sample must be CHIP RAM                  */
  124. /*----------------------------------------------*/
  125. waveptr = (BYTE *)AllocMem( samples , MEMF_CHIP|MEMF_PUBLIC);
  126. if (waveptr == 0)
  127.     goto killaudio;
  128. waveptr[0] =  127;
  129. waveptr[1] = -127;
  130. printf("Wave data ready...\n");
  131.  
  132. /*------------------------------------------------------------*/
  133. /* Set up audio I/O block to play a sample using CMD_WRITE.   */
  134. /* The io_Flags are set to ADIOF_PERVOL so we can set the     */
  135. /*    period (speed) and volume with the our sample;          */
  136. /* ioa_Data points to the sample; ioa_Length gives the length */
  137. /* ioa_Cycles tells how many times to repeat the sample       */
  138. /* If you want to play the sample at a given sampling rate,   */
  139. /* set ioa_Period = clock/(given sampling rate)               */
  140. /*------------------------------------------------------------*/
  141. AudioIO->ioa_Request.io_Message.mn_ReplyPort =AudioMP;
  142. AudioIO->ioa_Request.io_Command              =CMD_WRITE;
  143. AudioIO->ioa_Request.io_Flags                =ADIOF_PERVOL;
  144. AudioIO->ioa_Data                            =(BYTE *)waveptr;
  145. AudioIO->ioa_Length                          =samples;
  146. AudioIO->ioa_Period                         
  147. =clock*samcyc/(samples*frequency);
  148. AudioIO->ioa_Volume                          =64;
  149. AudioIO->ioa_Cycles                          =frequency*duration/samcyc;
  150. printf("I/O block initialized to play tone...\n");
  151.  
  152. /*-------------------------------------------------------*/
  153. /* Send the command to start a sound using BeginIO()     */
  154. /* Go to sleep and wait for the sound to finish with     */
  155. /* WaitPort().  When we wake-up we have to get the reply */
  156. /*-------------------------------------------------------*/
  157. printf("Starting tone now...\n");
  158. BeginIO((struct IORequest *) AudioIO );
  159. WaitPort(AudioMP);
  160. AudioMSG = GetMsg(AudioMP);
  161.  
  162. printf("Sound finished...\n");
  163.  
  164. killaudio:
  165.  
  166. printf("Killing audio device...\n");
  167. if (waveptr != 0)
  168.     FreeMem(waveptr, 2);
  169. if (device == 0)
  170.     CloseDevice( (struct IORequest *) AudioIO );
  171. if (AudioMP != 0)
  172.     DeletePort(AudioMP);
  173. if (AudioIO != 0)
  174.     FreeMem( AudioIO,sizeof(struct IOAudio) );
  175. }
  176.  
  177. --------------
  178.  
  179. I tried to convert C to E but my program doesn't work, I'm near but I need
  180. help. Here is my E code.
  181.  
  182. /* Sound V1.0  - Stephane Costisella in 1994                               */
  183. /*               Internet: ad047@Freenet.carleton.ca                       */
  184.  
  185. OPT OSVERSION=37
  186.  
  187. MODULE 'devices/audio', 
  188.        'dos/dos', 
  189.        'exec/memory',
  190.        'exec/types', 
  191.        'exec/io'
  192.  
  193. ENUM NONE, ERR_DOS, ERR_MEM, ERR_DEVICE
  194.  
  195. DEF audiobuf=NIL, msgport=NIL, filebuf=NIL, audiomsg=NIL, 
  196.     ioreq: PTR TO ioaudio, iow:PTR TO iostd, ior:PTR TO iostd
  197.  
  198. DEF whichannel[4]:ARRAY OF INT,waveptr:PTR TO INT 
  199.  
  200. PROC main () HANDLE
  201.   whichannel[1]:=1;whichannel[2]:=2;whichannel[3]:=4;whichannel[4]:=8
  202.  
  203.   /* open audio device */
  204.   ioreq := AllocMem( SIZEOF ioaudio,MEMF_PUBLIC + MEMF_CLEAR)
  205.   msgport := CreateMsgPort ()
  206.   IF msgport=NIL THEN Raise (ERR_DEVICE)
  207.   ioreq := CreateIORequest (msgport, SIZEOF ioaudio)
  208.   IF ioreq=NIL THEN Raise (ERR_DEVICE)
  209.  
  210.   IF OpenDevice ('audio.device', 0, ioreq, NIL)<>NIL THEN Raise (ERR_DEVICE)
  211.  
  212.   /* init values */
  213.   iow := ioreq
  214.   iow.command := ADCMD_ALLOCATE
  215.   iow.flags := ADIOF_NOWAIT
  216.   ioreq.allockey := 0
  217.   ioreq.data := whichannel
  218.   ioreq.length := 30000
  219.   DoIO(ioreq)
  220.  
  221.   /* create sample */
  222.   waveptr := AllocMem( 2 , MEMF_CHIP+MEMF_PUBLIC)
  223.   waveptr[0] :=  127
  224.   waveptr[1] := -127
  225.  
  226.   /* set up audio */
  227.   iow := ioreq
  228.   iow.command := CMD_WRITE
  229.   iow.flags := ADIOF_PERVOL
  230.   ioreq.data := waveptr
  231.   ioreq.length := 2
  232.   ioreq.period := 40
  233.   ioreq.volume := 64
  234.   ioreq.cycles := 10000
  235.   DoIO (ioreq)
  236.  
  237.   WaitPort(msgport)
  238.   audiomsg := GetMsg(msgport)
  239.   
  240.   /* clear all */
  241.   FreeMem(waveptr, 2)
  242.   IF ioreq <>NIL THEN CloseDevice (ioreq) BUT DeleteIORequest (ioreq)
  243.   IF msgport<>NIL THEN DeleteMsgPort(msgport)
  244.  
  245. EXCEPT
  246.   SELECT exception
  247.     CASE ERR_DOS;     PrintFault (IoErr(), 'Error')
  248.     CASE ERR_MEM;     PutStr ('Error: not enough memory\n')
  249.     CASE ERR_DEVICE;  PutStr ('Error: couldn\at open audio device\n')
  250.   ENDSELECT
  251. ENDPROC
  252.  
  253.  
  254. --
  255. ------------------------------------------------------------------------------
  256. | Stephane Costisella, Hull Quebec, Canada  | Talk me about: //3D Raytracing |
  257. | Freenet: ad047@freenet.carleton.ca        | ------------- // Programming   |
  258. |___________________________________________|            \\//  CommodoreAMIGA|
  259. From donews!crash!synapse.org!bob.monaghan Wed, 23 Feb 94 01:38:31 PST
  260. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  261.       id <1w3n@bkhouse.cts.com>; Wed, 23 Feb 94 01:38:31 PST
  262. Received: from crash by donews.cts.com with uucp
  263.     (Smail3.1.28.1 #18) id m0pYurr-0001PoC; Tue, 22 Feb 94 06:01 EST
  264. Received: from uusynap.synapse.org by crash.cts.com with smtp
  265.     (Smail3.1.28.1 #18) id m0pYuls-0000QmC; Tue, 22 Feb 94 02:55 PST
  266. Received: from synapse.org (uucp@localhost) by uusynap.synapse.org (8.6.5/8.6.5) with UUCP id FAA24895 for AMIGAE@BKHOUSE.CTS.COM; Tue, 22 Feb 1994 05:55:14 -0500
  267. Received: by synapse.org (PCB-UUCP 1.1f)
  268.     id EDFA42; Mon, 21 Feb 94 20:50:36 -0500
  269. Message-ID: <1d.110332.1351.0CEDFA42@synapse.org>
  270. Date: Mon, 21 Feb 94 12:07:00 -0500
  271. Organization: Babillard Synapse Inc. - (819) 246-2344
  272. From: bob.monaghan@synapse.org (Bob Monaghan)
  273. To: AMIGAE@BKHOUSE.CTS.COM
  274. Subject: fd2module
  275.  
  276. Yep! Definately want fd2module!
  277. Bob Monaghan
  278. From donews!crash!dsi.unimi.it!ruocco Wed, 23 Feb 94 01:40:17 PST
  279. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  280.       id <1w69@bkhouse.cts.com>; Wed, 23 Feb 94 01:40:17 PST
  281. Received: from crash by donews.cts.com with uucp
  282.     (Smail3.1.28.1 #18) id m0pYzaq-0002VWC; Tue, 22 Feb 94 11:04 EST
  283. Received: from pippo.sm.dsi.unimi.it by crash.cts.com with smtp
  284.     (Smail3.1.28.1 #18) id m0pYzVh-0000HUC; Tue, 22 Feb 94 07:58 PST
  285. Received: by pippo.sm.dsi.unimi.it
  286.     (1.37.109.4/16.2) id AA01392; Tue, 22 Feb 94 16:59:33 +0100
  287. Message-Id: <9402221559.AA01392@pippo.sm.dsi.unimi.it>
  288. Date: Tue, 22 Feb 1994 16:59:33 +0100 (MET)
  289. X-Mailer: ELM [version 2.4 PL22]
  290. Content-Type: text
  291. Content-Length: 147
  292. From: sergio ruocco <ruocco@dsi.unimi.it>
  293. To: AmigaE@bkhouse.cts.com
  294. Subject: UNSUBSCRIBE ME
  295.  
  296.  
  297. UNSUBSCRIBE ME from this list.
  298.  
  299. Sorry, but it seems that the listserver recorded me with an e-mail address that
  300. I forgot now...
  301.  
  302. Thanks.
  303.         Sergio
  304. From donews!crash!daimi.aau.dk!dofok Wed, 23 Feb 94 01:42:47 PST
  305. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  306.       id <1w9e@bkhouse.cts.com>; Wed, 23 Feb 94 01:42:47 PST
  307. Received: from crash by donews.cts.com with uucp
  308.     (Smail3.1.28.1 #18) id m0pZ6e1-0001maC; Tue, 22 Feb 94 18:36 EST
  309. Received: from daimi.aau.dk by crash.cts.com with smtp
  310.     (Smail3.1.28.1 #18) id m0pZ6DW-0000N1C; Tue, 22 Feb 94 15:08 PST
  311. Received: by daimi.aau.dk id AA05046
  312.   (5.65c8/IDA-1.4.4 for AmigaE@bkhouse.cts.com); Wed, 23 Feb 1994 00:08:31 +0100
  313. Message-Id: <199402222308.AA05046@daimi.aau.dk>
  314. Date: Wed, 23 Feb 94 0:08:29 GMT
  315. In-Reply-To: <199402211102.LAA08101@archimed.irit.fr>; from "Lionel VINTENAT" at Feb 21, 94 11:02 am
  316. X-Mailer: ELM [version 2.3 PL11]
  317. From: Brian Kofoed <dofok@daimi.aau.dk>
  318. To: AmigaE@bkhouse.cts.com
  319. Subject: Re: v39 .m's
  320.  
  321. How about put them on an ftp-site? It is not every user of E that reads
  322. this mail group.
  323.  
  324. Brian
  325. From donews!crash!cup.portal.com!WiZkId Wed, 23 Feb 94 01:42:57 PST
  326. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  327.       id <1w9j@bkhouse.cts.com>; Wed, 23 Feb 94 01:42:57 PST
  328. Received: from crash by donews.cts.com with uucp
  329.     (Smail3.1.28.1 #18) id m0pZ6e1-0002TeC; Tue, 22 Feb 94 18:36 EST
  330. Received: from nova.unix.portal.com by crash.cts.com with smtp
  331.     (Smail3.1.28.1 #18) id m0pZ6EM-0000I9C; Tue, 22 Feb 94 15:09 PST
  332. Received: from hobo.corp.portal.com (hobo.corp.portal.com [156.151.1.14]) by nova.unix.portal.com (8.6.4/8.6.4) with ESMTP id PAA12047 for <amigae@bkhouse.cts.com>; Tue, 22 Feb 1994 15:10:17 -0800
  333. Received: from localhost (pccop@localhost) by hobo.corp.portal.com (8.6.4/1.21) id PAA27555 for amigae@bkhouse.cts.com; Tue, 22 Feb 1994 15:10:14 -0800
  334. Lines: 37
  335. Date: Tue, 22 Feb 94 15:10:13 PST
  336. Message-ID: <9402221510.1.26789@cup.portal.com>
  337. X-Origin: The Portal System (TM)
  338. From: WiZkId@cup.portal.com
  339. To: AmigaE@bkhouse.cts.com
  340. Subject: Re: Dev Tools and E (was "Re: FAE update")
  341.  
  342.  
  343. >No, thanks.  I use EE exclusively now.  If I were using another
  344. >language at all, I might try another dev tool, but I'm not.  EE
  345. >is designed expressly for E.  I'm using EE to develop EE in E,
  346. >so it's getting a lot of testing as well.  My advice to you is
  347. >don't waste yer money in a hurry on some generic development
  348. >tool.  If you're serious about E, wait for the Freeware release
  349. >of EE.  Then you have my blessing to squander your cash, since
  350. >it will be an informed decision. :-) :-)
  351.  
  352.     But, they must all wait for EDS V40.64 - it will be out Wednesday.
  353.  
  354. >EE will have some overlapping of functionality with EDS, but
  355. >they should be compatible once EE incorporates ARexx, so you
  356. >EDS-lovers out there can still enjoy EDS's comfy environment.
  357.  
  358.     Why thank you for calling EDS comfy :-) 
  359.  
  360.     Hey, Barry... when it gets to a point where someone else might be able
  361. to figure it out (which it may already be), send me a copy and I'll add some
  362. features to EDS if possible to support things, et al.  You should have just
  363. gotten the latest greatest version of EDS (v40.64 is almost ready for
  364. release to all of you, and even has in installer script!)
  365.  
  366.  /***************************************************\
  367. | **       ___ __ __  __ _____  _   __ __  __      ** |
  368. | **      /  // //  //_//____ /| | / //_/ |  \     ** |
  369. | **     /  // //  /__    _/_/ | |/ /  _  ||\ \    ** |
  370. | **    /   -  -  //  / _/ /__ | |\ \ \ \ ||/ /    ** |
  371. | **    \________//__/ /______/|_| \_\ \_\|__/     ** |
  372. | **                                               ** |
  373. | **               Jeffrey J Peden II              ** |
  374. | ** WiZkId@cup.portal.com WiZkId@shell.portal.com ** |
  375. | **            GammaSoft/A Visual Image           ** |
  376. | **         Ask about Beta-testing EDS V40        ** |
  377. |/***************************************************\|
  378.  -----------------------------------------------------
  379. From donews!crash!fwi.uva.nl!oortmers Wed, 23 Feb 94 01:43:15 PST
  380. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  381.       id <1w9t@bkhouse.cts.com>; Wed, 23 Feb 94 01:43:15 PST
  382. Received: from crash by donews.cts.com with uucp
  383.     (Smail3.1.28.1 #18) id m0pZ6eR-0001PgC; Tue, 22 Feb 94 18:36 EST
  384. Received: from mail.fwi.uva.nl by crash.cts.com with smtp
  385.     (Smail3.1.28.1 #18) id m0pZ6O8-00007uC; Tue, 22 Feb 94 15:19 PST
  386. Received: from gene.fwi.uva.nl by mail.fwi.uva.nl with SMTP (5.65c/5.1)
  387.           id AA23113; Wed, 23 Feb 1994 00:19:31 +0100
  388. Received: by gene.fwi.uva.nl
  389.           id AA01281; Wed Feb 23 00:19:24 1994
  390. Message-Id: <199402222319.AA01281@gene.fwi.uva.nl>
  391. Date: Wed, 23 Feb 1994 00:19:24 +0100
  392. Return-Path: <oortmers@fwi.uva.nl>
  393. X-Organisation: Faculty of Mathematics & Computer Science
  394.                 University of Amsterdam
  395.                 Plantage Muidergracht 24
  396.                 NL-1018 TV Amsterdam
  397.                 The Netherlands
  398. X-Phone:        +31 20 525 5200
  399. X-Telex:        16460 facwn nl
  400. X-Fax:          +31 20 525 5101
  401. From: oortmers@fwi.uva.nl (Wouter van Oortmerssen (Alfa_Inf92))
  402. To: AmigaE@bkhouse.cts.com
  403. Subject: BUGS (known and unknown :-)
  404.  
  405.  
  406. -> You should ask Wouter for a list of reported and
  407. -> *confirmed* bugs instead of taking a poll. :-)
  408.  
  409. Good idea. I think it's useful for more people to know what
  410. severe bugs are present in v2.1b, so I made a list.
  411.  
  412. SEVERE known BUGS in Amiga E v2.1b, all solved for the next version
  413. (i.e. this does not include smaller bugs)
  414.  
  415. - typed :CHAR lists do not work with expressions (same for a CHAR
  416.   in :object), i.e.
  417.  
  418.   [1]:CHAR
  419.  
  420.   works well, but
  421.  
  422.   [a]:CHAR
  423.  
  424.   gives a wrong result
  425.  
  426. - INT dereferencing returns an UNSIGNED INT instead of a SIGNED one
  427.   (INT in E is SIGNED by definition). LONG doesn't have this problem.
  428.   example:
  429.  
  430.   DEF p:PTR TO INT
  431.  
  432.   ...
  433.  
  434.   p[]:=-1
  435.   WriteF('\d\n',p[])   /* results in 65535 */
  436.  
  437.   (you don't notice this bug when working with INTs from 0..32783).
  438.  
  439. - some cases of wrong program structure (such as forgetting an ENDIF)
  440.   are known to be able to crash the compiler
  441.  
  442. - workbench console opens in READWRITE modus (only harmful under 1.3)
  443.  
  444. (these are the most severe ones, but ofcourse there are more. I don't
  445. think I'll make a list for those, unless it is very badly needed)
  446.  
  447. -> I do not know what the circumstances are that cause it, but I tried to do a
  448. -> comparison against NIL (that is, my code says something like IF blah<>NIL,
  449. -> which I know is redundant, but I'm weird) the compilor gives a Software Error
  450. -> (the 8[0's]3 kind) and freezes up on me.
  451.  
  452. The compiler should _never_ crash. If you can cook up a small example
  453. source that crashes repeatedly, I'd appreciate it.
  454.  
  455. -> Maybe the reason Wouter didn't document the StringF function is that it
  456. -> would take to much space to document all the ways it could be used. (:-D)
  457.  
  458. Not everything I do has a reason, this one I just forgot :-)
  459.  
  460. -> Well in all honesty it is actually just a hack to Wouter's
  461. -> pragma2module so that it reads fd files instead of pragma files.
  462.  
  463. um, the module file-format is supposed to be private, so if you
  464. changed anything there, I recommend you show it me first.
  465.  
  466. Wouter
  467.  
  468.    ____  Wouter van Oortmerssen, Wouter@alf.let.uva.nl
  469.   / __/  "Nobody with a good car needs to be justified"
  470.  / __/      -Ministry, Jesus built my hotrod
  471. /___/    E mailing list: amigae-request@bkhouse.cts.com
  472. From donews!crash!piaggio.maths.nott.ac.uk!maths.nott.ac.uk!dp Wed, 23 Feb 94 04:31:14 PST
  473. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  474.       id <1wdk@bkhouse.cts.com>; Wed, 23 Feb 94 04:31:14 PST
  475. Received: from crash by donews.cts.com with uucp
  476.     (Smail3.1.28.1 #18) id m0pZIJk-0001wiC; Wed, 23 Feb 94 07:03 EST
  477. Received: from Cs.Nott.AC.UK by crash.cts.com with smtp
  478.     (Smail3.1.28.1 #18) id m0pZIHU-0000iXC; Wed, 23 Feb 94 04:01 PST
  479. Received: from piaggio.maths.nott.ac.uk by marian.Cs.Nott.AC.UK id aa01932;
  480.           23 Feb 94 11:57 GMT
  481. Date: Wed, 23 Feb 94 11:57:40 GMT
  482. Message-Id: <19074.9402231157@piaggio.maths.nott.ac.uk>
  483. From: Darren Parr <dp@maths.nott.ac.uk>
  484. To: amigaE@bkhouse.cts.com
  485. Cc: dp@maths.nott.ac.uk
  486. Subject: Editors
  487.  
  488. Increasingly the problem seems to be that people nowadays cant generally
  489. afford ram expansions - especially with the advent of the 1200 and 4000.
  490.  
  491. These 2 machine require 32 bit memory which is considerably more expensive
  492. than its 16 bit counterparts.
  493.  
  494. With this in mind what the language needs is an editor that will run in the
  495. background and be very memory efficient.
  496.  
  497. Today Im haveing a look at GoldED and ESEE - but I think that Im likely
  498. to discover that it wants to eat about 400k up before I start editing.
  499. This is totally useless from my point of view.
  500.  
  501. I need to be able to edit and compile my sources withing my 2meg of chip ram
  502. that comes with my 1200.
  503.  
  504. I dont even have a hd yet so this makes things even more complex.
  505. To be honest I have things configured pretty well with emacs.
  506.  
  507. I click on an icon from my E disk and it sets up emacs and a cli in front of
  508. it so that all i do is crtl-x ctrl-s from emacs to save and then I compile
  509. from the cli.
  510.  
  511. For memory purposes I have EMODULES: no assigned at all - as I am often
  512. converting modules like the great crm.library which I have used for crunching
  513. purposes.
  514.  
  515. I converted this to modules after I discovered CRM - crunchmania on Pazza
  516. Legal tools collection.
  517. Its ths best crunch library Ive come across - it blows powerpacker away with
  518. lots to spare.
  519.  
  520. If anyone actually wants to modules to this and the docs mention it on here
  521. and Ill upload em on here - not the library - go get that somewhere else as its
  522. available as PD and its very long - not what this groups about.
  523.  
  524. Wouter maybe a statement about what sort of memory availabilty well need for
  525. 3.0 as I believe that you ought to stay within the guidelines that youve set
  526. before - like we can compile most things in 2meg.
  527.  
  528. See ya
  529. BoomBoom (mexaland)
  530.  
  531. dp@maths.nott.ac.uk
  532. From nkraft Wed, 23 Feb 94 11:11:24 PST
  533. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  534.       id <1wei@bkhouse.cts.com>; Wed, 23 Feb 94 11:11:24 PST
  535. Date: Wed, 23 Feb 94 11:11:24 PST
  536. Message-Id: <9402231911.1wei@bkhouse.cts.com>
  537. In-Reply-To: <21700.199402211643@newbadger.westminster.ac.uk>
  538.          (from vaald@westminster.ac.uk)
  539.          (at Mon, 21 Feb 1994 16:43:06 GMT)
  540. X-Mailer: //\\miga Electronic Mail (AmiElm 2.253)
  541. Organization: Argus Computing, San Diego, CA
  542. Reply-To: nkraft@bkhouse.cts.com
  543. From: nkraft@bkhouse.cts.com (Norman R. Kraft)
  544. To: AmigaE@bkhouse.cts.com
  545. Subject: Re: More questons about Gadtools.
  546.  
  547. Hello vaald (vaald), on Feb 21 you wrote:
  548.  
  549. > "I just use a button just big enough to hold a acharacter. In PPI I used
  550. > a button with `*` inside of it."
  551. > You tit!!!!
  552.  
  553. I know that we have a lot of new users here, so I'll be patient about this
  554. sort of thing. Please re-read the section of the FAQ pertaining to posting
  555. guidelines on this mailing list. The basic rule is very simple, be polite.
  556. Mailing lists are not newsgroups, and require a different level of 
  557. attention to what we post. Yours is not the most flagrant violation of 
  558. the basic rule that I have seen in the last couple of weeks, but I do
  559. not intend to let flame wars or name-calling get started here. The AmigaE
  560. mailing list is a family, not a town square.
  561.  
  562. Thanks for trying to keep all the posts here in line with the guidelines.
  563.  
  564. Norm.
  565.  
  566.  
  567. ----------------------------------------------------------------------------
  568. Norman Kraft                            INET  : nkraft@ucsd.edu (work)
  569. Peptide-T Clinical Trial                or try: nkraft@bkhouse.cts.com (home)
  570. HIV Neurobehavioral Research Center     UUCP  : ucsd!nkraft
  571. Dept of Psychiatry, School of Medicine  
  572. University of California, San Diego          Usual disclaimers...
  573. ----------------------------------------------------------------------------
  574. From donews!crash!prl.philips.nl!hill Thu, 24 Feb 94 01:09:56 PST
  575. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  576.       id <1wer@bkhouse.cts.com>; Thu, 24 Feb 94 01:09:56 PST
  577. Received: from crash by donews.cts.com with uucp
  578.     (Smail3.1.28.1 #18) id m0pZKBY-0001vUC; Wed, 23 Feb 94 09:03 EST
  579. Received: from relay.philips.nl by crash.cts.com with smtp
  580.     (Smail3.1.28.1 #18) id m0pZK9e-0000n3C; Wed, 23 Feb 94 06:01 PST
  581. Received: from prl.philips.nl ([130.144.1.112]) by relay.philips.nl with SMTP (5.65c/smail2.5/05-10-87); 
  582.     id AA00619; Wed, 23 Feb 1994 15:00:59 +0100
  583. Received: by prl.philips.nl; Wed, 23 Feb 1994 15:00:53 +0100
  584. Received: by istw232.prl.philips.nl; Wed, 23 Feb 94 15:00:43 +0100
  585. Return-Path: <hill@prl.philips.nl>
  586. Date: Wed, 23 Feb 94 15:00:43 +0100
  587. Message-Id: <9402231400.AA04450@istw232.prl.philips.nl>
  588. From: hill@prl.philips.nl
  589. To: amigae@bkhouse.cts.com
  590. Subject: <none>
  591.  
  592. FAQ AmigaE
  593. From donews!crash!pitt.edu!cjfst4+ Thu, 24 Feb 94 01:10:38 PST
  594. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  595.       id <1wfa@bkhouse.cts.com>; Thu, 24 Feb 94 01:10:38 PST
  596. Received: from crash by donews.cts.com with uucp
  597.     (Smail3.1.28.1 #18) id m0pZLYN-0001mkC; Wed, 23 Feb 94 10:31 EST
  598. Received: from pop.pitt.edu by crash.cts.com with smtp
  599.     (Smail3.1.28.1 #18) id m0pZLEA-0000rZC; Wed, 23 Feb 94 07:10 PST
  600. Received: from unixs1.cis.pitt.edu by pop.pitt.edu with SMTP id AA20696
  601.   (5.65c/IDA-1.4.4.5 for <AmigaE@bkhouse.cts.com>); Wed, 23 Feb 1994 10:10:13 -0500
  602. Date: Wed, 23 Feb 1994 10:08:48 -0500 (EST)
  603. In-Reply-To: <199402211252.AA06914@iris>
  604. Message-Id: <Pine.3.03.9402231046.A1861-9100000@unixs1.cis.pitt.edu>
  605. Mime-Version: 1.0
  606. Content-Type: TEXT/PLAIN; charset=US-ASCII
  607. From: Chad J Freeman <cjfst4+@pitt.edu>
  608. To: The AmigaE Mailing List <AmigaE@bkhouse.cts.com>
  609. Subject: Re: FAE update
  610.  
  611.  
  612.  
  613. On Mon, 21 Feb 1994, Brian Kofoed wrote:
  614.  
  615. > What about emacs, availble on aminet...
  616. > Works great and is _THE_ editor... :) HAIL emacs (as I am supposed to do, when
  617. > I mention emacs :)
  618.  
  619. Gee, I hate to start an emacs war, but emacs is big and bloated for an
  620. Amiga text editor.
  621.